package com.lizhi.yun.core.controller;/**
 * @program: sfrobot-html
 * @name AssessController
 * @description: 康复评估
 * @author: lizhi
 * @create: 2020-05-08 16:22
 */

import com.lizhi.common.yun.entity.ListResponseResult;
import com.lizhi.yun.core.handler.ServiceAssessHandler;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 *@program: sfrobot-html
 *@name AssessController
 *@description: 康复评估
 *@author: lizhi
 *@create: 2020-05-08 16:22
 */
@RefreshScope
@RestController
@RequestMapping(path = "/api/stand/yun/assess")
@Api("康复评估")
public class AssessController {

    @Resource
    private ServiceAssessHandler assessHandler;

    @ApiOperation("查询所有需要做评估的患者")
    @PostMapping(path = "/doMain")
    public ListResponseResult doMain(@RequestBody String json) {
        return assessHandler.doMain(json);
    }

}
